/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.personnel.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 列头对照表
 *
 * @author 碎月
 * @date 2021-12-16 10:35:20
 */
@Data
@TableName("fy_personnel_columncontrol")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "列头对照表")
public class Columncontrol extends Model<Columncontrol> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId
    @ApiModelProperty(value="主键ID")
    private Long id;

    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID")
    private Long tenantId;

    /**
     * 所属年度
     */
    @ApiModelProperty(value="所属年度")
    private String year;

    /**
     * 导入列名
     */
    @ApiModelProperty(value="导入列名")
    private String columnname;

    /**
     * 数据表名
     */
    @ApiModelProperty(value="数据表名")
    private String tablename;

    /**
     * 对应表字段
     */
    @ApiModelProperty(value="对应表字段")
    private String fieldname;

    /**
     * 是否用来检索：默认0不检索，1表示检索
     */
    @ApiModelProperty(value="是否用来搜索")
    private Integer search;

}
